//
//  semYear.h
//  Gradekeeper0.2
//
//  Created by Ben Wu on 11/18/09.
//  Copyright 2009 i5. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>

@interface semYear : UIViewController {
	IBOutlet UITextField *inputYear;
	int selectedSemester;
	IBOutlet UISegmentedControl *segmentControl;
	NSString *semester;


	
}

@property(nonatomic,retain) IBOutlet UISegmentedControl *segmentControl;

- (void)cancelCreate:(id)sender;
- (IBAction) btnClickMe_Clicked: (id)sender;
- (IBAction) chooseSemester:(id) sender;
- (void)alertView:(UIAlertView *)alertView didDismissWithButtonIndex:(NSInteger)buttonIndex;
- (IBAction) writeToTextFile:(id)sender;
- (BOOL) profileExist: (NSString *) desiredName;
- (BOOL)textField:(UITextField *)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString *)string;
- (BOOL)textFieldShouldReturn:(UITextField *)textField;
@end
